﻿/**
* @description  Events specifically for the slideshow application.
*/
package com.foed.events {

	import flash.events.Event;

	public class SlideShowEvent extends Event {
    
		public static const SLIDE_REVEAL_COMPLETE:String = "slideRevealComplete";
		public static const TIMED_SLIDE_COMPLETE:String = "timedSlideComplete";

		/**
		* @description  Constructor.
		*
		* @param  pType  The name if the event.
		* @param  pBubbles  Whether the event bubbles up through the display list.
		* @param  pCancelable  Whether the event can be canceled as it bubbles.
		*/
		public function SlideShowEvent(
			pType:String,
			pBubbles:Boolean=false,
			pCancelable:Boolean=false
		) {
			super(pType, pBubbles, pCancelable);
		}

		/**
		* @description  Returns a copy of the event instance.
		*
		* @returns  A copy of the event.
		*/
		override public function clone():Event {
			return new SlideShowEvent(type, bubbles, cancelable);
		}

	}
  
}